<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
<meta name="viewport"content="width=device-width,initial-scale=1,user-scalable=no"/>
<title>主页</title>

   <style type="text/css">
        *{
            margin:0;padding:0;list-style: none;text-decoration: none;
        }
        body{
            background: #ccc;
        }
        #container{
            background-image: url(backgroundImage.jpg);width: 1613px;height: 700px;margin:0 auto;
        }
        #logo{
            float: left;margin:-5px 5px 0 0;
        }
        form{
            background: white;float: left;
        }
        #search-input{
            outline:none;width:500px;height: 50px;line-height: 50px;float: left;border:0;
 
        }
        #search-button{
            background-image: url(search.jpg);background-repeat: no-repeat;background-color: white;width:40px;height: 30px;float: left;border:0;margin:8px;
        }
        #wrapper{
            position: absolute;top:200px; left: 300px;
        }
    </style>
  </head>
  <body>






<form name=f action=http://www.baidu.com/s><input type=text name=wd id=kw size=35 maxlength=100><input type=hidden name=tn value="jqshw_pg"><input type=hidden name=bar value=""><input type=submit value=百度一下 id=sb></form>

            <form action="https://cn.bing.com/search" target="_self" method="get"  >
                <input type="text" id="search-input" name="q" placeholder="请输入要搜索的内容：" autofocus>
                <input type="submit" id="search-button" value="">
            </form>
  </body>






<script>
 var w = document.f.wd;
 function s(o) {
  if (w.value.length > 0) {
 var h = o.href;
 var q = encodeURIComponent(w.value);
 if (h.indexOf("q=") != -1) {
  o.href = h.replace(new RegExp("q=[^&$]*"), "q=" + q)
 } else {
  o.href += "?q=" + q
 }
  }
 }; (function() {
  if (new RegExp("q=([^&]+)").test(location.search)) {
 w.value = decodeURIComponent(RegExp.$1)
  }
 })();
  document.write('<script src=http://www.baidu.com/js/bdsug.js?v=1.1.0.3><\/script>')
 window.onunload = function() {};
 </script>
 <script>
 w.focus()
 </script>

</html>